/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.entity.vote;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 投票管理Entity
 * @author 郑学兵
 * @version 2017-05-22
 */
public class VoteCandidate extends DataEntity<VoteCandidate> {
	
	private static final long serialVersionUID = 1L;
	private String vcName;		// vc_name
	private String vcGh;		// vc_gh
	private String vcDepartment;		// vc_department
	private String vcCompany;		// vc_company
	private String vcImage;		// vc_image
	private String isEnabled;		// is_enabled
	private String isDeleted;		// is_deleted
	
	public VoteCandidate() {
		super();
	}

	public VoteCandidate(String id){
		super(id);
	}

	@Length(min=1, max=20, message="vc_name长度必须介于 1 和 20 之间")
	public String getVcName() {
		return vcName;
	}

	public void setVcName(String vcName) {
		this.vcName = vcName;
	}
	
	@Length(min=1, max=10, message="vc_gh长度必须介于 1 和 10 之间")
	public String getVcGh() {
		return vcGh;
	}

	public void setVcGh(String vcGh) {
		this.vcGh = vcGh;
	}
	
	@Length(min=0, max=50, message="vc_department长度必须介于 0 和 50 之间")
	public String getVcDepartment() {
		return vcDepartment;
	}

	public void setVcDepartment(String vcDepartment) {
		this.vcDepartment = vcDepartment;
	}
	
	@Length(min=0, max=50, message="vc_company长度必须介于 0 和 50 之间")
	public String getVcCompany() {
		return vcCompany;
	}

	public void setVcCompany(String vcCompany) {
		this.vcCompany = vcCompany;
	}
	
	@Length(min=0, max=255, message="vc_image长度必须介于 0 和 255 之间")
	public String getVcImage() {
		return vcImage;
	}

	public void setVcImage(String vcImage) {
		this.vcImage = vcImage;
	}
	
	@Length(min=0, max=11, message="is_enabled长度必须介于 0 和 11 之间")
	public String getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}
	
	@Length(min=0, max=11, message="is_deleted长度必须介于 0 和 11 之间")
	public String getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}
	
}